package com.tubang.logistics.service;

import com.tubang.logistics.vo.finance.BillDetailVO;
import com.tubang.logistics.vo.finance.BillUpdateVO;
import com.tubang.logistics.vo.finance.SettleDetailVO;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import java.util.List;
import java.util.Map;

public interface IFinanceService {
	Map<String,Object> listBillStatistics(Long startTime, Long endTime, String userId, boolean get, Integer page, Integer rows);

	Map<String,Object> listBillTable(Long startTime, Long endTime, String userId, boolean get, String content, Integer page, Integer rows);

	Map<String,Object> listSettle(Long startTime, Long endTime, String userId, boolean get, boolean receive, Integer page, Integer rows);

	Map<String,Object> listSettleTable(Long startTime, Long endTime, String userId, boolean get, boolean receive, String content, Integer page, Integer rows);

	Map<String,Object> listBill(Long startTime, Long endTime, String userId, Integer financeStatus, String content, Integer page, Integer rows);

	void updateBill(BillUpdateVO billUpdateVO);

	void insertSettle(List<String> ids);

	BillDetailVO getBillDetail(String id);

	Map<String,Object> listSettleForCheck(Long startTime, Long endTime, String userId, String content, Integer status, boolean carrier, Integer page, Integer rows);

	List<SettleDetailVO> getSettleDetail(String id);

	HSSFWorkbook exportBill(Long startTime, Long endTime, String userId, boolean get, String content);

	HSSFWorkbook exportSettle(Long startTime, Long endTime, String userId, boolean get, boolean receive, String content);

	void updateSettle(String id);
}
